package com.mt.course.feign;

import com.mt.common.ServiceResult;
import com.mt.course.entity.CourseGoodsEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@FeignClient(name = "courseGoods")
public interface CourseGoodsFeign {

    @GetMapping("/courseGoods/findInfo")
    ServiceResult<CourseGoodsEntity> findInfo(Map<String, Object> params);
}
